<%= form_for(@fixed_cost, url: admin_fixed_cost_path, method: :put) do |f| %>


成本名称: <%= f.text_field :name %>
<br />
成本费用：
<%= f.text_field :amount %>
<br />

成本周期：<%= f.text_field :cycle %>月
<br />
成本分店：<%= select_tag :studio_ids, options_from_collection_for_select(@studios, :id, :name,@fixed_cost.studio_ids),  multiple: true%>
<br />



<div class="actions">
  <%= f.submit %>
</div>
<% end %>
<%= link_to '返回', admin_fixed_costs_path %>